package com.rzico.report.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Created by icssh on 2020/11/15.
 */
@Data
public class OrderDetailVo {

    @Id
    protected Long id;

    //商品名称
    protected String name;

    //编号
    protected String sn;

    //规格
    protected String spec1;

    //单位
    protected String unit;

    @ApiModelProperty(value = "销售数量" )
    protected BigDecimal quantity;

    @ApiModelProperty(value = "销售单价" )
    protected BigDecimal price;

    @ApiModelProperty(value = "店铺优惠" )
    protected BigDecimal discount;


    @ApiModelProperty(value = "销售金额" )
    protected BigDecimal totalAmt;

    @ApiModelProperty(value = "成本单价" )
    protected BigDecimal cost;

    @ApiModelProperty(value = "成本金额" )
    protected BigDecimal totalCost;

    @ApiModelProperty(value = "毛利" )
    protected BigDecimal maoli;

    @ApiModelProperty(value = "毛利率" )
    protected BigDecimal maolilv;

    //订单id
    protected Long orderId;

    //订单号
    protected String orderSn;

    //收货人
    protected String consignee;

    //收货人电话
    protected String phone;

    //收货地址
    protected String address;

    //创建日期
    protected String createDate;
}
